def addNum(n):

    s = 0

    for i in range(2, n+1, 2):

        s += i

    return s



def addNum2(n):

    s = 0

    t = 2

    while t<= n:

        s += t

        t += 2

    return s



print(addNum(int(10)) + addNum2(10))